home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}#1.0#0"; "MSSCRIPT.OCX"
- Begin VB.Form Form1
- BorderStyle = 1 'Fixed Single
- Caption = "VBSCRIPT"
- ClientHeight = 6375
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 5775
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 6375
- ScaleWidth = 5775
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command2
- Caption = "Run"
- Height = 375
- Left = 4920
- TabIndex = 3
- Top = 480
- Width = 735
- End
- Begin VB.PictureBox usrfrm
- Height = 3375
- Left = 120
- ScaleHeight = 3315
- ScaleWidth = 4635
- TabIndex = 1
- Top = 480
- Width = 4695
- Begin VB.CommandButton Command1
- Caption = "B1"
- Height = 375
- Left = 1560
- TabIndex = 2
- Top = 720
- Width = 1095
- End
- Begin VB.Label Label5
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Mostafa Mohamed web page"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = -1 'True
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FF0000&
- Height = 195
- Left = 2400
- MouseIcon = "frmmain.frx":0000
- MousePointer = 99 'Custom
- TabIndex = 8
- Top = 3000
- Width = 2070
- End
- Begin VB.Label Label2
- BackStyle = 0 'Transparent
- Caption = "write the code on B1_CLICK on the textbox and click run button and the click this button to execute the code"
- Height = 615
- Left = 1080
- TabIndex = 5
- Top = 120
- Width = 2055
- End
- End
- Begin VB.TextBox Text1
- Height = 2175
- Left = 0
- MultiLine = -1 'True
- ScrollBars = 3 'Both
- TabIndex = 0
- Text = "frmmain.frx":0152
- Top = 4200
- Width = 5775
- End
- Begin MSScriptControlCtl.ScriptControl ScriptControl1
- Left = 5040
- Top = 3120
- _ExtentX = 1005
- _ExtentY = 1005
- AllowUI = -1 'True
- End
- Begin VB.Label Label4
- BackStyle = 0 'Transparent
- Caption = "Write your code here"
- Height = 255
- Left = 0
- TabIndex = 7
- Top = 3960
- Width = 2535
- End
- Begin VB.Label Label3
- BackStyle = 0 'Transparent
- Caption = "Will execute sub Main"
- Height = 495
- Left = 4560
- TabIndex = 6
- Top = 0
- Width = 1095
- End
- Begin VB.Label Label1
- BackStyle = 0 'Transparent
- Caption = "This picturebox acts as form1"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 240
- Width = 2895
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- ScriptControl1.Run "B1_click"
- End Sub
- Private Sub Command2_Click()
- ScriptControl1.AddCode Text1.Text
- ScriptControl1.Run "Main"
- End Sub
- Private Sub Form_Load()
- ScriptControl1.AddObject "form1", usrfrm
- ScriptControl1.AddObject "b1", Command1
- End Sub
- Private Sub Label5_Click()
- On Error Resume Next
- Shell "explorer http://www.geocities.com/ResearchTriangle/Campus/4598/", vbNormalFocus
- End Sub
-